RISC OS 3.7 User Guide


Appendix E: RISC OS file types


File types are three-digit hexadecimal numbers. They are divided into ranges:

For each type, there may be a default action on loading and running the file. These actions may change, depending on whether the desktop is in use, and which applications have been seen. The system variables Alias$@LoadType_XXX and Alias$@RunType_XXX give the actions (XXX = file type).

Some types have a textual equivalent set at start-up, which may be used in most commands (but not in the above system variables) instead of the hexadecimal code. These are indicated in the table below by a 'T'. For example, file type &FFF is set at start-up to have the textual equivalent Text. Other textual equivalents may be set as an application starts - for example, Acorn Desktop Publisher sets up file type &AF9 to be DtpDoc, and file type &AFA to be DtpStyle. These textual equivalents are set using the system variables File$Type_XXX, where XXX is the file type.

You should use the hexadecimal file type in command scripts and in programs, otherwise you will find that your files will give an error if you try to run them on a machine that uses a territory with different textual equivalents.

The following types are currently used or reserved by Acorn. Not all file types used by software houses are shown. This list may be extended from time to time:

Acorn file types

File type: Description: Textual equivalent

Industry standard file types

File type: Description: Textual equivalent

Acorn Advance file types

File type: Description: Textual equivalent

BBC ROM file type

File type: Description: Textual equivalent

Acornsoft file types

File type: Description: Textual equivalent


RISC OS 3.7 User Guide - 20 JAN 1997